package com.mao.polymorphsm2;

public class Turtle extends Animal {
    String name = "乌龟";
    @Override
    public void run(){
        System.out.println("乌龟跑");
    }
    // 乌龟缩头方法
    public void shrink(){
        System.out.println("乌龟缩头");
    }
}
